package cn.iocoder.yudao.module.wine.controller.admin.supplyorderitem.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.math.BigDecimal;

@Schema(description = "管理后台 - 订单项信息新增/修改 Request VO")
@Data
public class SupplyOrderItemSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "31703")
    private Long id;

    @Schema(description = "订单ID", example = "8671")
    private Long orderId;

    @Schema(description = "供求信息ID", example = "15187")
    private Long infoId;

    @Schema(description = "购买的瓶数")
    private Integer quantity;

    @Schema(description = "购买的件数")
    private Integer packages;
    /**
     * 单价，单位：元
     */
    @Schema(description = "单价，单位：元", example = "29756")
    private BigDecimal salePrice;

    @Schema(description = "应付金额（总），单位：元", example = "29756")
    private BigDecimal payPrice;

    @Schema(description = "保费金额（总），单位：分", example = "3055")
    private Integer premiumPrice;

}